Skip to content

Deprecate fractional days for Date - #201

Open
jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:deprecate-fractional-days
Open

jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:deprecate-fractional-days

Conversation

@jeremyevans

Copy link
Copy Markdown
Contributor

Keep allowing fractional days for DateTime.

Date's implementation of fractional days doesn't make sense, respecting them in + and - but truncating them in the constructors. It probably stems from historical behavior where Date and DateTime shared an implementation, as opposed to a deliberate decision made during the original design.

Keep allowing fractional days for DateTime.

Date's implementation of fractional days doesn't make sense, respecting
them in + and - but truncating them in the constructors. It probably
stems from historical behavior where Date and DateTime shared an
implementation, as opposed to a deliberate decision made during the
original design.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant